import Config from './config.js';
//所有后端接口地址均在此处
export default {
    address: {},
    webUrl: Config.ajax.webUrl,
    wx: {
        login: Config.ajax.baseUrl + '?service=App.Wx_WeiXin.LoginSign',
        home: Config.ajax.baseUrl + 'wx/home/index',
        CatalogList: Config.ajax.baseUrl + 'wx/catalog/index',
        CatalogCurrent: Config.ajax.baseUrl + 'wx/catalog/current',
        GoodsCount: Config.ajax.baseUrl + 'wx/goods/count', //统计商品总数
        GoodsCategory: Config.ajax.baseUrl + 'wx/goods/category',
        GoodsList: Config.ajax.baseUrl + 'wx/goods/list',
        GoodsDetail: Config.ajax.baseUrl + 'wx/goods/detail',

        CartAdd: Config.ajax.baseUrl + 'wx/cart/add', //获取购物车的数据
        CartList: Config.ajax.baseUrl + 'wx/cart/index', //获取购物车的数据

        AuthLoginByWeixin: Config.ajax.baseUrl + 'wx/auth/login_by_weixin', //微信登录

        AddressDefault: Config.ajax.baseUrl + 'wx/address/default',//用户默认收货地址
        AddressSave: Config.ajax.baseUrl + 'wx/address/save',//更新用户收货地址
        AddressList: Config.ajax.baseUrl + 'wx/address/list',//用户收货地址列表
        AddressDel: Config.ajax.baseUrl + 'wx/address/delete',//删除用户收货地址
    }
};